package org.example.service;

import org.example.VO.OrderVO;
import org.example.entity.Orders;
import com.baomidou.mybatisplus.extension.service.IService;
import org.example.utils.PageResult;

public interface IOrdersService extends IService<Orders> {

    PageResult<Orders> selectByPage(int pageNum, int pageSize);

    PageResult<Orders> search(int pageNum, int pageSize, OrderVO orderVO);

    boolean addOrder(Orders orders);
}
